import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/box',
    name: 'Box',
    component: () => import('../views/Box.vue')
  },
  {
    path: '/models',
    name: 'Models',
    component: () => import('../views/Models.vue')
  },
  {
    path: '/3dTiles',
    name: '3dTiles',
    component: () => import('../views/3dTiles.vue')
  },
  {
    path: '/City',
    name: 'City',
    component: () => import('../views/City.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
